package com.cmwa.scbp.business.customerEquity.navinfo.service;

import java.io.File;

import javax.servlet.http.HttpServletResponse;

import com.cmwa.scbp.business.customerEquity.navinfo.entity.NavInfoBaseVo;
import com.cmwa.scbp.base.mvc.entity.Page;
import com.cmwa.scbp.base.mvc.entity.SearchParam;
import com.cmwa.scbp.utils.Echarts;

public interface NavInfoService {

	Page<NavInfoBaseVo> queryNavListPage(SearchParam sp);
	
	void exportNavDetail(HttpServletResponse response,SearchParam sp);
	
	Echarts queryNavInfoBySolid(HttpServletResponse response,SearchParam sp);
	
	void exportNavInterfaceFile(String theDate, String faCode, HttpServletResponse response);
	
	NavInfoBaseVo queryNavDataById(String navBizId);
	
	void updateNavValuesById(NavInfoBaseVo navInfoBaseVo);

	/**
	 * 创建净值文件
	 * @param theDate 日期
	 * @param faCode 基金代码（与系列产品编号二选一参数）
	 * @param prjCodes 系列产品编号（与基金代码二选一参数）
	 */
	File createNavFile(String theDate, String faCode, String prjCodes);
}
